package cn.javacv.gulimall.product.service;

import cn.javacv.gulimall.product.entity.CategoryEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.javacv.gulimall.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author dingqiang
 * @email 295213096@qq.com
 * @date 2020-06-04 14:26:34
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    Long[] findCategoryPath(long categoryId);

    void removeCategoryByIds(List<Long> asList);

    boolean updateDetail(CategoryEntity category);
}

